unit uMapa;

interface

uses
  System.SysUtils, System.Types, System.UITypes, System.Classes,
  System.Variants,
  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser,
  FMX.StdCtrls, FMX.Layouts;

type
  TfmMapa = class(TForm)
    StyleBook1: TStyleBook;
    WebBrowser1: TWebBrowser;
    LayCli: TLayout;
    LayBot: TLayout;
    btnIconoSalir: TButton;
    btnSalir: TButton;
    btnIconoRecargar: TButton;
    btnRecargar: TButton;
    procedure FormActivate(Sender: TObject);
    procedure btnIconoSalirClick(Sender: TObject);
    procedure btnIconoRecargarClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  var
    URL: String;
  end;

var
  fmMapa: TfmMapa;

implementation

uses uGlobal;

{$R *.fmx}

procedure TfmMapa.btnIconoRecargarClick(Sender: TObject);
begin
 WebBrowser1.Navigate(URL);
end;

procedure TfmMapa.btnIconoSalirClick(Sender: TObject);
begin
  Close;
end;

procedure TfmMapa.FormActivate(Sender: TObject);
begin
 WebBrowser1.Navigate(URL);
end;

end.
